package classrecord;

import classrecord.classes.database.studentemailaddresstbl.STUDENTEMAILADDRESSTBLDao;
import classrecord.classes.database.studentemailaddresstbl.STUDENTEMAILADDRESSTBLDomain;

public class InsertIntoStudentEmailAddressTbl {

	public static void main(String[] args) {
		STUDENTEMAILADDRESSTBLDomain studentemailaddresstblDomain = new STUDENTEMAILADDRESSTBLDomain();
		studentemailaddresstblDomain.setStudentNumber("2005005333");
		studentemailaddresstblDomain.setEmailAddress("chrismsawi@gmail.com");
		
		STUDENTEMAILADDRESSTBLDao studentemailaddresstblDao = new STUDENTEMAILADDRESSTBLDao();
		studentemailaddresstblDao.setStudentemailaddresstblDomain(studentemailaddresstblDomain);
		
		boolean wasInserted = studentemailaddresstblDao.add();
		System.out.println("wasInserted: " + wasInserted);
	}

}
